package org.kiwi.job.orm.service;

import org.kiwi.job.orm.model.JobLogModel;

import java.util.List;

/**
 * Created by jack on 17/2/14.
 */
public interface JobLogService {

    int create(JobLogModel JobLogModel);

    int createSelective(JobLogModel JobLogModel);

    JobLogModel findByPrimaryKey(Long id);

    int updateByPrimaryKey(JobLogModel JobLogModel);

    int updateByPrimaryKeySelective(JobLogModel JobLogModel);

    int deleteByPrimaryKey(Long id);

    int selectCount(JobLogModel JobLogModel);

    List<JobLogModel> selectPageByJobCode(String jobCode, Long pageNum, Long pageSize);

    List<JobLogModel> selectByJobCodeLastHour(String jobCode);
}
